@layout("/backend/common/_container.html"){
	<div class="inner-fit">
	    <div class="hisui-layout" data-options="fit:true">   
			<div data-options="region:'west',title:'资源列表',split:true" style="width:250px;">
				<div id="tt1" class="hisui-tabs tabs-keywords" style="left:0;right:0;">   
					<div title="后台资源" style="padding:0;">   
						<div class="dhcc-hisui-toolbar">
							<div class="dhcc-hisui-toolbar-seach">
								<input type="text" id="backendSeachKey" value="" class="textbox" />
							</div>
							<div class="dhcc-hisui-toolbar-btn">
								<a onclick="javascript:ResourceAuth.backendResourceTree.getObject().expandAll(true)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-bottom" plain="true">展开</a>
								<a onclick="javascript:ResourceAuth.backendResourceTree.getObject().expandAll(false)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-top" plain="true">折叠</a>
							</div>
		                </div>
						<ul id="backendResourceTree" class="ztree"></ul>
					</div>   
					<div title="前台资源" style="padding:0;">   
						<div class="dhcc-hisui-toolbar">
							<div class="dhcc-hisui-toolbar-seach">
								<input type="text" id="frontSeachKey" value="" class="textbox" />
							</div>
							<div class="dhcc-hisui-toolbar-btn">
								<a onclick="javascript:ResourceAuth.frontResourceTree.getObject().expandAll(true)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-bottom" plain="true">展开</a>
								<a onclick="javascript:ResourceAuth.frontResourceTree.getObject().expandAll(false)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-top" plain="true">折叠</a>
							</div>
		                </div>
						<ul id="frontResourceTree" class="ztree"></ul>
					</div>   
					<div title="接口资源" style="padding:0;">   
						<div class="dhcc-hisui-toolbar">
							<div class="dhcc-hisui-toolbar-seach">
								<input type="text" id="apiSeachKey" value="" class="textbox" />
							</div>
							<div class="dhcc-hisui-toolbar-btn">
								<a onclick="javascript:ResourceAuth.apiResourceTree.getObject().expandAll(true)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-bottom" plain="true">展开</a>
								<a onclick="javascript:ResourceAuth.apiResourceTree.getObject().expandAll(false)" class="hisui-linkbutton" style="width:48.5%" iconCls="icon-arrow-top" plain="true">折叠</a>
							</div>
		                </div>
						<ul id="apiResourceTree" class="ztree"></ul>
					</div>   
				</div>
			</div>   
			<div data-options="region:'center',title:'设置权限',split:true"  style="overflow-x: hidden;padding:10px">
				<div id="tt2" class="hisui-tabs tabs-keywords" style="left:0;right:0;">   
					<div title="组织机构" style="padding:10px 0;">   
						<ul id="orgTree" class="ztree"></ul>
					</div>   
					<div title="系统角色" style="padding:10px 0;">   
						<ul id="roleTree" class="ztree"></ul>
					</div>   
				</div>
			</div>
		</div>
	</div>
<script src="${ctxPath}/static/backend/system/permission/resourceAuth.js"></script>
@}
